using Godot;
using System;

namespace ZerAx.Roguelike
{
	public partial class Game : Node
	{
		[Export]
		private Camera2D _camera;
		public Camera2D Camera;

		public Vector2 WorldToScreen(Vector2 worldPos) => Camera.GetCanvasTransform() * worldPos;
	}
}
